any

inline fun any(predicate: (R) -> Boolean): Boolean

Returns the result of applying the predicate to the value if this is Right or false if this is Left.

Return

The result of applying the predicate to the value if this is Right or false if this is Left.

Since

1.3

Parameters

predicate

Predicate function.